export default {
  namespaced: true,
  state: {
    dict: {}
  },
  getters: {
    dictData(state, getters) {
      return state.dict
    }
  },
  mutations: {
    setDict(state, { dictCode, dictItems }) {
      state.dict[dictCode] = dictItems
    }
  }
}
